from wtforms import StringField
from wtforms.validators import DataRequired
from app.forms.base import BaseForm


class BookForm(BaseForm):
    q = StringField(validators=[DataRequired(message='关键字参数不能为空')])